#include <string>
using std::string;

struct stemmer;

extern struct stemmer * create_stemmer(void);
extern void free_stemmer(struct stemmer * z);

extern int stem(struct stemmer * z, char * b, int k);
extern void stem_word(string &str, string &out);
extern int stemmerDriver(string, string);

